* OPEN STATA OUTPUT FILE LOG

log using "E:\Presidential Appointments Project (with AJO)\Manuscripts\Measurement\Data Materials\STATISTICAL ANALYSIS OF COMPARING BONICA MATCHED OBSERVATIONS.03-22-2016.Table 3.Measurement Manuscript.smcl" 

   

**** PROGRAM USED TO "PARE DOWN" O'CONNELL-KRAUSE APPONTEE BIOGRAPHICAL DATABASE TO MATCH CORRESPONDING OBSERVATIONS IN ADAM BONICA'S "DIME" DATABASE ***  
*** OBSERVATIONS CUT DOWN FROM 1,372 OBSERVATIONS [O'CONNELL-KRAUSE] DOWN TO 584 "MATCHING" BONICA OBSERVATIONS [192 IRC OBSERRVATIONS; 392 EXECUTIVE BRANCH AGENCY OBSERVATIONS]***


use "E:\Presidential Appointments Project (with AJO)\Manuscripts\Measurement\Data Materials\Measurement Database.Bayesian GLTA MODEL 23FBIT.05-30-2015.Bonica Comparison Database.03-21-2016.STATISTICAL ANALYSIS.dta", clear

*
*
*
*
*
*


*** CONVERGENT VALIDITY ANALYSIS: REGRESS BONICA'S ABSOLUTE IDEOLOGICAL DISTANCE BETWEEN PRESIDENT AND AGENCY LEADER [|PRES.IP -- CFSCORE|] ON NORMALIZED (Z-TRANSFORMATION) BAYESIAN POSTERIOR MEDIAN LOYALTY SCORE ESTIMATE ***  

regress presagencyleaderabsdist zloyalmedian

*

*** ESTIMATE AS LOG-GAMMA REGRESSION MODEL GIVEN THAT THE ABSOLUTE IDEOLOGICAL DISTANCE MEASURE SUFFERS FROM SEVEREK SKEWNEWSS *** 

sum presagencyleaderabsdist,  detail
*
sktest presagencyleaderabsdist
swilk  presagencyleaderabsdist
sfrancia presagencyleaderabsdist, boxcox
*
glm presagencyleaderabsdist zloyalmedian, family(gamma) link(log)



*** ESTIMATE PAIRWISE BIVARIATE CORRELATIONS BETWEEN BONICA'S ABSOLUTE IDEOLOGICAL DISTANCE BETWEEN PRESIDENT AND AGENCY LEADER [|PRES.IP -- CFSCORE|] & BOTH LATENT TRAIT LOYALTY SCORE ESTIMATES NOTED ABOVE ***

pwcorr presagencyleaderabsdist zloyalmedian, sig



************************************************************************************************************************************************************************************************************************************
************************************************************************************************************************************************************************************************************************************
************************************************************************************************************************************************************************************************************************************




*** CONTENT VALIDITY ANALYSIS OF BONICA ABSOLUTE IDEOLOGICAL DISTANCE MEASURE AND LOYALTY MANIFEST INDICATOR VARIABLES THAT COMPRISE THE LOYALTY LATENT TRAIT ***


** REGRESS BONICA'S ABSOLUTE IDEOLOGICAL DISTANCE BETWEEN PRESIDENT AND AGENCY LEADER [|PRES.IP -- CFSCORE|] ON "ELECT1B", "PARTY2B", "MONEY", "PAEPA2", "GOVSERV", & "PTYORG2" MANIFEST INDICATORS ***  

regress presagencyleaderabsdist elect1bmodel23fbit party2bmodel23fbit moneymodel23fbit paepa2model23fbit govservmodel23fbit ptyorg2model23fbit


** JOINT CHI-SQUARE EXCLUSION TEST RESTRICTIONS: NULL EFFECTS ATTRIBUTABLE TO SHARED 'PARTISAN OREINTATION' EFFECTS **

test party2bmodel23fbit=moneymodel23fbit=0

** JOINT CHI-SQUARE EXCLUSION TEST RESTRICTIONS: NULL EFFECTS ATTRIBUTABLE TO SHARED 'FEALTY' EFFECTS **

test elect1bmodel23fbit=paepa2model23fbit=govservmodel23fbit=ptyorg2model23fbit=0




*** ESTIMATE AS LOG-GAMMA REGRESSION MODEL GIVEN THAT THE ABSOLUTE IDEOLOGICAL DISTANCE MEASURE SUFFERS FROM SEVEREK SKEWNEWSS *** 

glm presagencyleaderabsdist party2bmodel23fbit moneymodel23fbit elect1bmodel23fbit paepa2model23fbit govservmodel23fbit ptyorg2model23fbit, family(gamma) link(log)


** JOINT CHI-SQUARE EXCLUSION TEST RESTRICTIONS: NULL EFFECTS ATTRIBUTABLE TO SHARED 'PARTISAN OREINTATION' EFFECTS **

test party2bmodel23fbit=moneymodel23fbit=0

** JOINT CHI-SQUARE EXCLUSION TEST RESTRICTIONS: NULL EFFECTS ATTRIBUTABLE TO SHARED 'FEALTY' EFFECTS **

test elect1bmodel23fbit=paepa2model23fbit=govservmodel23fbit=ptyorg2model23fbit=0





*** ESTIMATE SPEARMAN RANK RHO BIVARIATE CORRELATIONS BETWEEN BONICA'S ABSOLUTE IDEOLOGICAL DISTANCE BETWEEN PRESIDENT AND AGENCY LEADER [|PRES.IP -- CFSCORE|] & ALL SIX LOYALTY MANIFEST INDICATORS NOTED ABOVE ***

spearman presagencyleaderabsdist elect1bmodel23fbit party2bmodel23fbit moneymodel23fbit paepa2model23fbit govservmodel23fbit ptyorg2model23fbit, stats(rho p)



log close
